I want to use this API in javascript/jquery, which is currently in curl and get the JSON response, My below
curl -F "file=@test.txt" https://api.anonfiles.com/upload
<form enctype="multipart/form-data" action="https://api.anonfiles.com/v1/upload" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
Send this file: <input name="file" type="file" />
<input type="submit" value="Send File" />
</form>
(not working :/)